#include "stdio.h"
//函数调用拷贝语句
void my(char *b,char *a)
{
int i = 0;
while (*a = '\0') 
     {
       *b = *a;
       *a++;
       *b++;
     }
   *b = '\0';
}
int main()
{
 char a[80],b[80];
printf("please enter a atring");
    gets(a);
       my(&b,&a);
printf("the copy is:");
    puts(b);
}